import request from '@/utils/request'

// 运营配置
// 获取诊所信息
export function getClinic(data) {
	return request({
		url: '/backend/clinicset/clinic-view',
		method: 'get',
		params: data
	})
}
// 省份下拉
export function provList(data) {
	return request({
		url: '/backend/clinicset/province',
		method: 'get',
		params: data
	})
}
// 市区县下拉
export function notProvList(data) {
	return request({
		url: '/backend/xscard/linkage-search',
		method: 'get',
		params: data
	})
}
// 保存数据
export function update(data) {
	return request({
		url: '/backend/clinicset/clinic-update',
		method: 'get',
		params: data
	})
}

// 收费项目
// 列表
export function chargeList(data) {
	return request({
		url: '/backend/itemset/item-list',
		method: 'get',
		params: data
	})
}
// 收费项目操作
export function addProject(data) {
	return request({
		url: '/backend/itemset/handle-item',
		method: 'get',
		params: data
	})
}
// 分类项目操作
export function addClassify(data) {
	return request({
		url: '/backend/itemset/item-class',
		method: 'get',
		params: data
	})
}
// 收费项目下拉
export function chargeSelect(data) {
	return request({
		url: '/backend/itemset/item-option',
		method: 'get',
		params: data
	})
}

// 诊断配置
// 列表
export function diagnoseList(data) {
	return request({
		url: '/backend/diagnosisset/diagnosis-list',
		method: 'get',
		params: data
	})
}
// 诊断配置操作
export function diagnoseAddProject(data) {
	return request({
		url: '/backend/diagnosisset/handle-diagnosis',
		method: 'get',
		params: data
	})
}
// 分类项目操作
export function diagnoseAddClassify(data) {
	return request({
		url: '/backend/diagnosisset/diagnosis-class',
		method: 'get',
		params: data
	})
}
// 诊断配置下拉
export function diagnoseSelect(data) {
	return request({
		url: '/backend/diagnosisset/select-option',
		method: 'get',
		params: data
	})
}
// icd一级分类
export function icdSelect1(data) {
	return request({
		url: '/backend/synchronizeicd/search-option',
		method: 'get',
		params: data
	})
}
// icd二级分类
export function icdSelect2(data) {
	return request({
		url: '/backend/synchronizeicd/second-class',
		method: 'get',
		params: data
	})
}
// icd高级检索
export function icdSearch(data) {
	return request({
		url: '/backend/synchronizeicd/icd-search',
		method: 'get',
		params: data
	})
}
